// 数据库配置
const config = {
  development: {
    host: process.env.DB_HOST || 'localhost',
    port: process.env.DB_PORT || 3306,
    user: process.env.DB_USER || 'root',
    password: process.env.DB_PASSWORD || 'your_password',
    database: process.env.DB_NAME || 'hospital_appointment',
    charset: 'utf8mb4',
    timezone: '+08:00'
  }
};

module.exports = config[process.env.NODE_ENV || 'development'];
